Refer to _LIBCPP_MSVC macro where applicable Replace preprocess conditions of defined(_MSC_VER) && !defined(__clang__) with defined(_LIBCPP_MSVC). NFC. Patch by Dave Lee! git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294171 91177308-0d34-0410-b5e6-96231b3b80d8 
diff --git a/include/ext/hash_set b/include/ext/hash_set index 7c6a8bf..916ed69 100644 --- a/include/ext/hash_set +++ b/include/ext/hash_set 
@@ -199,7 +199,7 @@  #include <ext/__hash>    #if __DEPRECATED -#if defined(_MSC_VER) && ! defined(__clang__) +#if defined(_LIBCPP_MSVC)  _LIBCPP_WARNING("Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set>")  #else  # warning Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set>